package com.likan.chqjtgc.commons;

/**
 * 此处用于存放服务访问端的配置
 */
public class AuthLoginClientConfig {


    /**
     * token对称加密密钥对
     */
    public static final  String JWT_SECRET_KEY= "dui_cheng_jia_mi_miyao";
    /**
     * jwt令牌存放在redis中key的前缀
     */
    public static final  String JWT_REDIS_PREFIX= "user_token:";
    /**
     * 权限验证请求头key及前缀
     */
    public static final String AUTHORIZATION_HEADER = "Authorization";
    public static final String BEARER_TOKEN_TYPE = "Bearer";

    /**
     * web端客户端id
     */
    public static  final String  WEB_APP_CLIENT_ID ="webapp";

    /**
     * 移动端端客户端id
     */
    public static  final String  MOBILE_CLIENT_ID ="mobile";

    /**
     * 客户端secret
     */
    public static final String SECRET= "123456";

    /**
     * auth需要鉴权的模块 -resourceId  (用于鉴权服务器和资源服务器的resourceId配置)  通常会使用模块名称
     */
    public static final String mobile= "mobile";
    public static final String basic= "basic";

    public static final String search= "search";
    public static final String messageQueue= "messageQueue";


}
